<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        var sum = 0;
        var arr = [[12,33,44],[25,35,14],[12,23,34]];
        for(var i = 0; i < arr.length; i++){
            for(var j = 0; j < arr[0].length; j++){
                sum += arr[i][j];
            }
        }
        console.log(sum);
    </script>
</head>
<body>
    
</body>
</html>